-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
21537 - Shortname Refunds - PATCH / GET methods & Notification #1758
Conversation
Looks good so far! Thanks! |
Need the notification too haha |
@@ -80,5 +80,6 @@ def get_eft_credits(cls, short_name_id: int) -> List[Self]: | |||
return (cls.query | |||
.filter(EFTCredit.remaining_amount > 0) | |||
.filter(EFTCredit.short_name_id == short_name_id) | |||
.with_for_update() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…abase instead, rename REJECTED - >DECLINED so it matches business verbage, build serializable base class to assist with ATTRS serialization
"""Retrieve emails with the specified keycloak role.""" | ||
users = get_users_with_keycloak_role(role) | ||
# Purpose of this is so our TEST users don't get hammered with emails, also our tester can easily switch this on. | ||
if override_emails := flags.is_on('override-eft-refund-emails', default=False): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
Looks good, just the one comment about the history. I have also merged a PR with a fix to the tests, sorry that was my bad. |
Issue #:
bcgov/entity#21537
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the sbc-pay license (Apache 2.0).